import time
import datetime

# [01/Mar/2019:13:58:34 +0800]
# ('01', 'Mar', '2019', '13:58:34', '+0800')
time1 = 'Friday, November 18, 2016'
time_format = datetime.datetime.strptime(time1, '%A, %B %d, %Y')
print(time_format)  # 2016-11-18 00:00:00

time2 = ''
